POV-Ray : Newsgroups : povray.beta-test : Function image type mirrored vertically : Re: Function image type mirrored vertically Server Time
29 Jul 2024 16:33:39 EDT (-0400)
  Re: Function image type mirrored vertically  
From: Rune
Date: 6 Apr 2002 05:07:58
Message: <3caec8fe$1@news.povray.org>
"Thorsten Froehlich" wrote:
> It is not a bug in POV-Ray but in your scene.
> The origin of the image is at the upper left
> of the box while the origin of the function
> is the center of the image. Applying an image
> map instead of the function image will clarify
> the origin.

Funny, because when rendering the code below I see an upside-down image.
Another bug in my scene?

camera {location -3*z}
#default {finish {ambient 1}}
#declare I = function {pigment {image_map {png "test.png"}}}
#declare F = function {I(x,y,z).gray}
plane {
   -z, 0
   pigment {function {F(x,y,z)}}
}
box {
   <0,0,-0.001>,<1,1,1>
   pigment {
      image_map {function 100, 100 {F(x,y,z)}}
   }
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.